<template>
    
</template>


<script type="text/javascript">
import "@/js/slideBlock.js";
export default {
    name: "captcha",
    data () {
        return {
        }
    }, //data
    mounted:function ()  {
    },
    methods: {
        getCaptcha() {
            jigsaw.init({
                el: this.$refs.captcha,
                onSuccess: this.onSuccess,
                onFail: this.onFail,
                onRefresh: this.cleanMsg
            });
        },
        onSuccess() {
            console.log("成功");
        },
        onFail() {
            console.log("失败");
        },
        cleanMsg() {
            console.log("刷新");
        },
        vlog () {
            console.log("ok this logs")
        },

    },
} 
    
</script>

<style type="text/css">
    
</style>